Skip to content

Conversation

rj-jesus
Copy link
Contributor

@rj-jesus rj-jesus commented Jul 29, 2025

This patch avoids a comparison against zero when lowering abs(sub(a, b)) patterns, instead reusing the condition codes generated by a subs of the operands directly.

For example, currently:

  sxtb w8, w0
  sub w8, w8, w1, sxtb
  cmp w8, #0
  cneg w0, w8, mi

becomes:

  sxtb w8, w0
  subs w8, w8, w1, sxtb
  cneg w0, w8, mi

Together with #151177, this should handle the remaining patterns in #118413 (although I believe now some of the tgt cases in the issue should generate slightly worse code than the src cases, presumably because the former are not combined as abd[us] nodes, but I believe these can be taken on separately).

@llvmbot
Copy link
Member

llvmbot commented Jul 29, 2025

@llvm/pr-subscribers-backend-aarch64

Author: Ricardo Jesus (rj-jesus)

Changes

This patch avoids a comparison against zero when lowering abs(sub(a, b)) patterns, instead reusing the condition codes generated by a subs of the operands directly.

For example, currently:

  sxtb w8, w0
  sub w8, w8, w1, sxtb
  cmp w8, #<!-- -->0
  cneg w0, w8, pl

becomes:

  sxtb w8, w0
  sxtb w9, w1
  subs w8, w9, w8
  cneg w0, w8, gt

Whilst this doesn't decrease the number of instructions, the new version should expose more ILP and use ``cheaper'' instructions having lower latency and/or higher throughput.

This patch also includes a somewhat orthogonal change in performNegCSelCombine, which I included in this patch to avoid a code generation regression in CodeGen/AArch64/abd[su]-neg.ll due to the combine negating the operands of the csel, leading to an extra sub instruction. If preferable, I can open a separate PR for this.

Together with #151177, this should handle the remaining patterns in #118413 (although I believe now some of the tgt cases in the issue should generate slightly worse code than the src cases, presumably because the former are not combined as abd[us] nodes, but I believe these can be taken on separately).


Full diff: https://github.com/llvm/llvm-project/pull/151180.diff

5 Files Affected:

  • (modified) llvm/lib/Target/AArch64/AArch64ISelLowering.cpp (+24-9)
  • (modified) llvm/test/CodeGen/AArch64/abds-neg.ll (+15-15)
  • (modified) llvm/test/CodeGen/AArch64/abds.ll (+37-37)
  • (modified) llvm/test/CodeGen/AArch64/abdu-neg.ll (+15-15)
  • (modified) llvm/test/CodeGen/AArch64/abdu.ll (+37-37)
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 7b49754ee7e1f..8b515fb649ee7 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -7118,12 +7118,21 @@ SDValue AArch64TargetLowering::LowerABS(SDValue Op, SelectionDAG &DAG) const {
     return LowerToPredicatedOp(Op, DAG, AArch64ISD::ABS_MERGE_PASSTHRU);
 
   SDLoc DL(Op);
-  SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT),
-                            Op.getOperand(0));
-  // Generate SUBS & CSEL.
-  SDValue Cmp = DAG.getNode(AArch64ISD::SUBS, DL, DAG.getVTList(VT, FlagsVT),
-                            Op.getOperand(0), DAG.getConstant(0, DL, VT));
-  return DAG.getNode(AArch64ISD::CSEL, DL, VT, Op.getOperand(0), Neg,
+  SDValue Val = Op.getOperand(0);
+  SDValue Neg = DAG.getNegative(Val, DL, VT);
+  SDValue Cmp;
+
+  // For abs(sub(lhs, rhs)), we can compare lhs and rhs directly. This allows
+  // reusing the subs operation for the calculation and comparison.
+  if (Val.getOpcode() == ISD::SUB)
+    Cmp = DAG.getNode(AArch64ISD::SUBS, DL, DAG.getVTList(VT, FlagsVT),
+                      Val.getOperand(0), Val.getOperand(1));
+  else
+    // Otherwise, compare with zero.
+    Cmp = DAG.getNode(AArch64ISD::SUBS, DL, DAG.getVTList(VT, FlagsVT), Val,
+                      DAG.getConstant(0, DL, VT));
+
+  return DAG.getNode(AArch64ISD::CSEL, DL, VT, Val, Neg,
                      DAG.getConstant(AArch64CC::PL, DL, MVT::i32),
                      Cmp.getValue(1));
 }
@@ -20835,11 +20844,17 @@ static SDValue performNegCSelCombine(SDNode *N, SelectionDAG &DAG) {
   if (!isNegatedInteger(N0) && !isNegatedInteger(N1))
     return SDValue();
 
-  SDValue N0N = getNegatedInteger(N0, DAG);
-  SDValue N1N = getNegatedInteger(N1, DAG);
-
   SDLoc DL(N);
   EVT VT = CSel.getValueType();
+
+  // If the operands are negations of each other, reverse them.
+  if ((isNegatedInteger(N0) && N0.getOperand(1) == N1) ||
+      (isNegatedInteger(N1) && N1.getOperand(1) == N0))
+    return DAG.getNode(AArch64ISD::CSEL, DL, VT, N1, N0, CSel.getOperand(2),
+                       CSel.getOperand(3));
+
+  SDValue N0N = getNegatedInteger(N0, DAG);
+  SDValue N1N = getNegatedInteger(N1, DAG);
   return DAG.getNode(AArch64ISD::CSEL, DL, VT, N0N, N1N, CSel.getOperand(2),
                      CSel.getOperand(3));
 }
diff --git a/llvm/test/CodeGen/AArch64/abds-neg.ll b/llvm/test/CodeGen/AArch64/abds-neg.ll
index 432ffc30eec5e..a7c27894e6125 100644
--- a/llvm/test/CodeGen/AArch64/abds-neg.ll
+++ b/llvm/test/CodeGen/AArch64/abds-neg.ll
@@ -8,9 +8,9 @@
 define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -25,9 +25,9 @@ define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -42,9 +42,9 @@ define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -59,9 +59,9 @@ define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 define i16 @abd_ext_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = sext i16 %a to i64
@@ -94,9 +94,9 @@ define i16 @abd_ext_i16_i32(i16 %a, i32 %b) nounwind {
 define i16 @abd_ext_i16_undef(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = sext i16 %a to i64
diff --git a/llvm/test/CodeGen/AArch64/abds.ll b/llvm/test/CodeGen/AArch64/abds.ll
index ed1e6077948ee..3e1d8522aa9d8 100644
--- a/llvm/test/CodeGen/AArch64/abds.ll
+++ b/llvm/test/CodeGen/AArch64/abds.ll
@@ -8,9 +8,9 @@
 define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -24,9 +24,9 @@ define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -40,9 +40,9 @@ define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = sext i8 %a to i64
@@ -56,9 +56,9 @@ define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 define i16 @abd_ext_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = sext i16 %a to i64
@@ -88,9 +88,9 @@ define i16 @abd_ext_i16_i32(i16 %a, i32 %b) nounwind {
 define i16 @abd_ext_i16_undef(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = sext i16 %a to i64
@@ -220,9 +220,9 @@ define i128 @abd_ext_i128_undef(i128 %a, i128 %b) nounwind {
 define i8 @abd_minmax_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_minmax_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %min = call i8 @llvm.smin.i8(i8 %a, i8 %b)
@@ -234,9 +234,9 @@ define i8 @abd_minmax_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_minmax_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_minmax_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %min = call i16 @llvm.smin.i16(i16 %a, i16 %b)
@@ -294,9 +294,9 @@ define i128 @abd_minmax_i128(i128 %a, i128 %b) nounwind {
 define i8 @abd_cmp_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_cmp_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp sgt i8 %a, %b
@@ -309,9 +309,9 @@ define i8 @abd_cmp_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_cmp_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_cmp_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp sge i16 %a, %b
@@ -517,11 +517,11 @@ define i64 @vector_legalized(i16 %a, i16 %b) {
 ; CHECK-LABEL: vector_legalized:
 ; CHECK:       // %bb.0:
 ; CHECK-NEXT:    movi v0.2d, #0000000000000000
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    addp d0, v0.2d
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w8, w8, mi
+; CHECK-NEXT:    addp d0, v0.2d
 ; CHECK-NEXT:    fmov x9, d0
 ; CHECK-NEXT:    add x0, x9, x8
 ; CHECK-NEXT:    ret
@@ -542,9 +542,9 @@ define i64 @vector_legalized(i16 %a, i16 %b) {
 define i8 @abd_select_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_select_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxtb w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxtb w8, w1
+; CHECK-NEXT:    sxtb w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp slt i8 %a, %b
@@ -557,9 +557,9 @@ define i8 @abd_select_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_select_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_select_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    sxth w8, w0
-; CHECK-NEXT:    sub w8, w8, w1, sxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    sxth w8, w1
+; CHECK-NEXT:    sxth w9, w0
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp sle i16 %a, %b
diff --git a/llvm/test/CodeGen/AArch64/abdu-neg.ll b/llvm/test/CodeGen/AArch64/abdu-neg.ll
index 8fb106e92866e..a83323650330b 100644
--- a/llvm/test/CodeGen/AArch64/abdu-neg.ll
+++ b/llvm/test/CodeGen/AArch64/abdu-neg.ll
@@ -8,9 +8,9 @@
 define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -25,9 +25,9 @@ define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -42,9 +42,9 @@ define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -59,9 +59,9 @@ define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 define i16 @abd_ext_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = zext i16 %a to i64
@@ -94,9 +94,9 @@ define i16 @abd_ext_i16_i32(i16 %a, i32 %b) nounwind {
 define i16 @abd_ext_i16_undef(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, pl
 ; CHECK-NEXT:    ret
   %aext = zext i16 %a to i64
diff --git a/llvm/test/CodeGen/AArch64/abdu.ll b/llvm/test/CodeGen/AArch64/abdu.ll
index 4585de96c848f..a058121236a5b 100644
--- a/llvm/test/CodeGen/AArch64/abdu.ll
+++ b/llvm/test/CodeGen/AArch64/abdu.ll
@@ -8,9 +8,9 @@
 define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -24,9 +24,9 @@ define i8 @abd_ext_i8(i8 %a, i8 %b) nounwind {
 define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -40,9 +40,9 @@ define i8 @abd_ext_i8_i16(i8 %a, i16 %b) nounwind {
 define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i8_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = zext i8 %a to i64
@@ -56,9 +56,9 @@ define i8 @abd_ext_i8_undef(i8 %a, i8 %b) nounwind {
 define i16 @abd_ext_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = zext i16 %a to i64
@@ -88,9 +88,9 @@ define i16 @abd_ext_i16_i32(i16 %a, i32 %b) nounwind {
 define i16 @abd_ext_i16_undef(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_ext_i16_undef:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %aext = zext i16 %a to i64
@@ -224,9 +224,9 @@ define i128 @abd_ext_i128_undef(i128 %a, i128 %b) nounwind {
 define i8 @abd_minmax_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_minmax_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %min = call i8 @llvm.umin.i8(i8 %a, i8 %b)
@@ -238,9 +238,9 @@ define i8 @abd_minmax_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_minmax_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_minmax_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %min = call i16 @llvm.umin.i16(i16 %a, i16 %b)
@@ -300,9 +300,9 @@ define i128 @abd_minmax_i128(i128 %a, i128 %b) nounwind {
 define i8 @abd_cmp_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_cmp_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp ugt i8 %a, %b
@@ -315,9 +315,9 @@ define i8 @abd_cmp_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_cmp_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_cmp_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp uge i16 %a, %b
@@ -382,11 +382,11 @@ define i64 @vector_legalized(i16 %a, i16 %b) {
 ; CHECK-LABEL: vector_legalized:
 ; CHECK:       // %bb.0:
 ; CHECK-NEXT:    movi v0.2d, #0000000000000000
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
-; CHECK-NEXT:    addp d0, v0.2d
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w8, w8, mi
+; CHECK-NEXT:    addp d0, v0.2d
 ; CHECK-NEXT:    fmov x9, d0
 ; CHECK-NEXT:    add x0, x9, x8
 ; CHECK-NEXT:    ret
@@ -407,9 +407,9 @@ define i64 @vector_legalized(i16 %a, i16 %b) {
 define i8 @abd_select_i8(i8 %a, i8 %b) nounwind {
 ; CHECK-LABEL: abd_select_i8:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xff
-; CHECK-NEXT:    sub w8, w8, w1, uxtb
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xff
+; CHECK-NEXT:    and w9, w0, #0xff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp ult i8 %a, %b
@@ -422,9 +422,9 @@ define i8 @abd_select_i8(i8 %a, i8 %b) nounwind {
 define i16 @abd_select_i16(i16 %a, i16 %b) nounwind {
 ; CHECK-LABEL: abd_select_i16:
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    and w8, w0, #0xffff
-; CHECK-NEXT:    sub w8, w8, w1, uxth
-; CHECK-NEXT:    cmp w8, #0
+; CHECK-NEXT:    and w8, w1, #0xffff
+; CHECK-NEXT:    and w9, w0, #0xffff
+; CHECK-NEXT:    subs w8, w9, w8
 ; CHECK-NEXT:    cneg w0, w8, mi
 ; CHECK-NEXT:    ret
   %cmp = icmp ule i16 %a, %b

@efriedma-quic
Copy link
Collaborator

Is there some reason to avoid generating subs w8, w8, w1, sxtb?

@rj-jesus
Copy link
Contributor Author

Is there some reason to avoid generating subs w8, w8, w1, sxtb?

That would be another option, but I believe that on Neoverse V2 and a few other cores, extended ADDS/SUBS have higher latency (2 vs 1) and lower throughput (2 vs 3) than the non-extended versions, and by doing the extension separately we may expose more ILP.

@rj-jesus
Copy link
Contributor Author

I did some digging and, with this patch, we should generate the combined extended forms when compiling for code size. For example, given:

#include <stdint.h>

typedef uint8_t u8;
typedef int8_t i8;

u8 src_u8(u8 a, u8 b) {
  return (a > b) ? a - b : b - a;
}

i8 src_i8(i8 a, i8 b) {
  return (a > b) ? a - b : b - a;
}

With -O2:

src_u8:
	and	w8, w1, #0xff
	and	w9, w0, #0xff
	subs	w8, w9, w8
	cneg	w0, w8, mi
	ret

src_i8:
	sxtb	w8, w1
	sxtb	w9, w0
	subs	w8, w9, w8
	cneg	w0, w8, mi
	ret

With -Os:

src_u8:
	and	w8, w0, #0xff
	subs	w8, w8, w1, uxtb
	cneg	w0, w8, mi
	ret

src_i8:
	sxtb	w8, w0
	subs	w8, w8, w1, sxtb
	cneg	w0, w8, mi
	ret

Perhaps the restrictions in isWorthFoldingALU could be loosened, possibly allowing multiple SUB/SUBS users if those could be CSE'd? As mentioned previously, despite the code size reduction, I'm not sure this would be a win for performance currently. Either way, this patch still seems applicable to allow the SUBS extended patterns above to be matched.

rj-jesus added 4 commits July 30, 2025 10:03
This patch avoids a comparison against zero when lowering abs(sub(a, b))
patterns, instead reusing the condition codes generated by a subs of the
operands directly.

For example, currently:
```
  sxtb w8, w0
  sub w8, w8, w1, sxtb
  cmp w8, #0
  cneg w0, w8, pl
```
becomes:
```
  sxtb w8, w0
  sxtb w9, w1
  subs w8, w9, w8
  cneg w0, w8, gt
```

Whilst this doesn't decrease the number of instructions utilised, the
new version exposes more ILP and uses ``cheaper'' instructions,
typically having lower latency and/or higher throughput.

This patch also includes a somewhat orthogonal change in
performNegCSelCombine, which I included to avoid a code generation
regression in CodeGen/AArch64/abd[su]-neg.ll due to the combine
negating the operands of the csel, leading to an extra sub instruction.
If preferable, I can open a separate PR for this.
Instead of reversing the operands when they are negations of each other,
peek through already existing negations. This has the same effect when
the operands are negations of each other but should be more generally
useful.
@rj-jesus rj-jesus force-pushed the rjj/aarch64-improve-abs-sub-lowering branch from ce097ff to cba370b Compare July 30, 2025 17:33
@rj-jesus
Copy link
Contributor Author

I've rebased this to update tests that had changed with #151177.

I've also simplified the changes in performNegCSelCombine since I figured we could achieve the same effect by peeking through negations when negating the operands of a CSEL. Doing this should achieve the same effect as reversing the CSEL's operands when they are negations of each other, but should be more generally useful (I'm happy to revert these changes if that would be preferable, though).

rj-jesus added 2 commits July 31, 2025 08:50
By combining the original SUB node to the SUBS created when folding
subs(sub(a,b), 0) -> subs(a,b), we no longer create ``swapped'' SUB
nodes, such as sub(b,a), after performNegCSelCombine. Therefore, the
changes to avoid code gen regressions in some cases are no longer
required.
@rj-jesus rj-jesus merged commit d8f8961 into llvm:main Aug 6, 2025
9 checks passed
@rj-jesus rj-jesus deleted the rjj/aarch64-improve-abs-sub-lowering branch August 6, 2025 12:00
@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/21669

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/20844

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/23060

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/22940

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/22939

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-ubuntu running on as-builder-4 while building llvm at step 7 "test-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/187/builds/8941

Here is the relevant piece of the build log for the reference
Step 7 (test-check-all) failure: Test just built components: check-all completed (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/22358

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxth w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:197:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:200:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxth
�[0;1;32m      ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxtb w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:279:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:282:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxtb
�[0;1;32m      ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m             1: �[0m�[1m�[0;1;46m .file "<stdin>" �[0m
�[0;1;30m             2: �[0m�[1m�[0;1;46m .text �[0m
�[0;1;30m             3: �[0m�[1m�[0;1;46m .globl scalar_i32_signed_reg_reg // -- Begin function scalar_i32_signed_reg_reg �[0m
�[0;1;30m             4: �[0m�[1m�[0;1;46m .p2align 2 �[0m
�[0;1;30m             5: �[0m�[1m�[0;1;46m .type scalar_i32_signed_reg_reg,@function �[0m
�[0;1;30m             6: �[0m�[1m�[0;1;46m�[0mscalar_i32_signed_reg_reg:�[0;1;46m // @scalar_i32_signed_reg_reg �[0m
�[0;1;32mlabel:14'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:14'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m             7: �[0m�[1m�[0;1;46m�[0m// %bb.0:�[0;1;46m �[0m
�[0;1;32mcheck:15        ^~~~~~~~~
�[0m�[0;1;30m             8: �[0m�[1m�[0;1;46m �[0msubs w9, w0, w1�[0;1;46m �[0m
�[0;1;32mnext:16          ^~~~~~~~~~~~~~~
�[0m�[0;1;30m             9: �[0m�[1m�[0;1;46m �[0mmov w8, #-1 // =0xffffffff�[0;1;46m �[0m
�[0;1;32mnext:17          ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m            10: �[0m�[1m�[0;1;46m �[0mcneg w9, w9, le�[0;1;46m �[0m
�[0;1;32mnext:18          ^~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-aarch64-darwin running on doug-worker-5 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/24947

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxth w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:197:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:200:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxth
�[0;1;32m      ^
�[0m�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxtb w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:279:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:282:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxtb
�[0;1;32m      ^
�[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m             1: �[0m�[1m�[0;1;46m .file "<stdin>" �[0m
�[0;1;30m             2: �[0m�[1m�[0;1;46m .text �[0m
�[0;1;30m             3: �[0m�[1m�[0;1;46m .globl scalar_i32_signed_reg_reg // -- Begin function scalar_i32_signed_reg_reg �[0m
�[0;1;30m             4: �[0m�[1m�[0;1;46m .p2align 2 �[0m
�[0;1;30m             5: �[0m�[1m�[0;1;46m .type scalar_i32_signed_reg_reg,@function �[0m
�[0;1;30m             6: �[0m�[1m�[0;1;46m�[0mscalar_i32_signed_reg_reg:�[0;1;46m // @scalar_i32_signed_reg_reg �[0m
�[0;1;32mlabel:14'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:14'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m             7: �[0m�[1m�[0;1;46m�[0m// %bb.0:�[0;1;46m �[0m
�[0;1;32mcheck:15        ^~~~~~~~~
�[0m�[0;1;30m             8: �[0m�[1m�[0;1;46m �[0msubs w9, w0, w1�[0;1;46m �[0m
�[0;1;32mnext:16          ^~~~~~~~~~~~~~~
�[0m�[0;1;30m             9: �[0m�[1m�[0;1;46m �[0mmov w8, #-1 // =0xffffffff�[0;1;46m �[0m
�[0;1;32mnext:17          ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m            10: �[0m�[1m�[0;1;46m �[0mcneg w9, w9, le�[0;1;46m �[0m
�[0;1;32mnext:18          ^~~~~~~~~~~~~~~
...

rj-jesus added a commit to rj-jesus/llvm-project that referenced this pull request Aug 6, 2025
This seems to be due to an interaction with db158c7.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-debian-cpp20 running on clang-debian-cpp20 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/16213

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-a-1 while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/21225

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
  Passed           : 46762 (97.71%)
  Expectedly Failed:    26 (0.05%)
[1394/1396] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1395/1396] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/wasm-ld
-- Testing: 60512 tests, 60 workers --
Testing:  0.
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (4394 of 60512)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/llc -mtriple=aarch64-unknown-linux-gnu < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 7 (check) failure: check (failure)
...
  Passed           : 46762 (97.71%)
  Expectedly Failed:    26 (0.05%)
[1394/1396] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1395/1396] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/wasm-ld
-- Testing: 60512 tests, 60 workers --
Testing:  0.
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (4394 of 60512)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/llc -mtriple=aarch64-unknown-linux-gnu < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-o27g1628/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/16743

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-key-instructions running on sie-linux-worker5 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/208/builds/3426

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-ki/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbot/buildbot-root/llvm-ki/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbot/buildbot-root/llvm-ki/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbot/buildbot-root/llvm-ki/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
�[1m/home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxth w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:197:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:200:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxth
�[0;1;32m      ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: sxtb w9, w1
�[0;1;32m              ^
�[0m�[1m<stdin>:279:10: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m// %bb.0:
�[0;1;32m         ^
�[0m�[1m<stdin>:282:7: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m subs w10, w9, w1, sxtb
�[0;1;32m      ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-ki/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m             1: �[0m�[1m�[0;1;46m .file "<stdin>" �[0m
�[0;1;30m             2: �[0m�[1m�[0;1;46m .text �[0m
�[0;1;30m             3: �[0m�[1m�[0;1;46m .globl scalar_i32_signed_reg_reg // -- Begin function scalar_i32_signed_reg_reg �[0m
�[0;1;30m             4: �[0m�[1m�[0;1;46m .p2align 2 �[0m
�[0;1;30m             5: �[0m�[1m�[0;1;46m .type scalar_i32_signed_reg_reg,@function �[0m
�[0;1;30m             6: �[0m�[1m�[0;1;46m�[0mscalar_i32_signed_reg_reg:�[0;1;46m // @scalar_i32_signed_reg_reg �[0m
�[0;1;32mlabel:14'0      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;32mlabel:14'1      ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m             7: �[0m�[1m�[0;1;46m�[0m// %bb.0:�[0;1;46m �[0m
�[0;1;32mcheck:15        ^~~~~~~~~
�[0m�[0;1;30m             8: �[0m�[1m�[0;1;46m �[0msubs w9, w0, w1�[0;1;46m �[0m
�[0;1;32mnext:16          ^~~~~~~~~~~~~~~
�[0m�[0;1;30m             9: �[0m�[1m�[0;1;46m �[0mmov w8, #-1 // =0xffffffff�[0;1;46m �[0m
�[0;1;32mnext:17          ^~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;30m            10: �[0m�[1m�[0;1;46m �[0mcneg w9, w9, le�[0;1;46m �[0m
�[0;1;32mnext:18          ^~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/14974

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-global-isel running on linaro-clang-aarch64-global-isel while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/125/builds/9698

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-hwasan running on sanitizer-buildbot12 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/15280

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89622 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26642 of 89622)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 11 (stage2/hwasan check) failure: stage2/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89622 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26642 of 89622)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 14 (stage3/hwasan check) failure: stage3/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86409 tests, 72 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26654 of 86409)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-msan running on sanitizer-buildbot9 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/9586

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89621 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26640 of 89621)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 11 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89621 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26640 of 89621)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 14 (stage3/msan check) failure: stage3/msan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86409 tests, 72 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26649 of 86409)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

rj-jesus added a commit that referenced this pull request Aug 6, 2025
@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/11919

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-asan running on sanitizer-buildbot8 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/11290

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89623 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26642 of 89623)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 11 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 89623 tests, 72 workers --
Testing:  0.. 10.. 20..
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26642 of 89623)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 86409 tests, 72 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (26650 of 86409)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve2-vla running on linaro-g4-01 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/198/builds/6715

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-msan running on sanitizer-buildbot5 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/164/builds/12296

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91856 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28287 of 91856)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 11 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91856 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28287 of 91856)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 14 (stage3/msan check) failure: stage3/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88557 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28303 of 88557)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vls running on linaro-g3-04 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/143/builds/9791

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-sve-vls-2stage running on linaro-g3-01 while building llvm at step 12 "ninja check 2".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/4/builds/8297

Here is the relevant piece of the build log for the reference
Step 12 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-asan running on sanitizer-buildbot1 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/10236

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91857 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28303 of 91857)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 11 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 91857 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28303 of 91857)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:73: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88557 tests, 88 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/AArch64/midpoint-int.ll (28306 of 88557)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu < /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/32694

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/34897

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/23963

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/34907

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/32705

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=aarch64-unknown-linux-gnu
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Aug 6, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/23972

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/midpoint-int.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-unknown-linux-gnu < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll # RUN: at line 2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=aarch64-unknown-linux-gnu
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:304:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxth w9, w1
              ^
<stdin>:197:10: note: scanning from here
// %bb.0:
         ^
<stdin>:200:7: note: possible intended match here
 subs w10, w9, w1, sxth
      ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll:429:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: sxtb w9, w1
              ^
<stdin>:279:10: note: scanning from here
// %bb.0:
         ^
<stdin>:282:7: note: possible intended match here
 subs w10, w9, w1, sxtb
      ^

Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AArch64/midpoint-int.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
          192:  // -- End function 
          193:  .globl scalar_i16_signed_mem_reg // -- Begin function scalar_i16_signed_mem_reg 
          194:  .p2align 2 
          195:  .type scalar_i16_signed_mem_reg,@function 
          196: scalar_i16_signed_mem_reg: // @scalar_i16_signed_mem_reg 
          197: // %bb.0: 
next:304'0              X error: no match found
          198:  ldrsh w9, [x0] 
next:304'0     ~~~~~~~~~~~~~~~~
          199:  mov w8, #-1 // =0xffffffff 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          200:  subs w10, w9, w1, sxth 
next:304'0     ~~~~~~~~~~~~~~~~~~~~~~~~
...

krishna2803 pushed a commit to krishna2803/llvm-project that referenced this pull request Aug 12, 2025
This patch avoids a comparison against zero when lowering abs(sub(a, b))
patterns, instead reusing the condition codes generated by a subs of the
operands directly.

For example, currently:
```
  sxtb w8, w0
  sub w8, w8, w1, sxtb
  cmp w8, #0
  cneg w0, w8, mi
```
becomes:
```
  sxtb w8, w0
  subs w8, w8, w1, sxtb
  cneg w0, w8, mi
```

Together with llvm#151177, this should handle the remaining patterns in
llvm#118413.
krishna2803 pushed a commit to krishna2803/llvm-project that referenced this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants